class Foo {
  void m() {
    if (true) {
    System.out.println();
    <caret>
    if (true) {
    System.out.println();
    <caret>
  }
}